package com.demo.service.impl;

import com.demo.mapper.DeptMapper;
import com.demo.pojo.Dept;
import com.demo.service.DeptService;
import com.demo.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author： Administrator
 * @date: 21/05/14 09:43
 * 描述：
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;

    @Override
    public int add(Dept dept) {
        return 0;
    }

    @Override
    public int del(String dept) {
        return 0;
    }

    @Override
    public int update(Dept dept) {
        return 0;
    }

    @Override
    public Page<Dept> page(Dept dept, int pageNo, int pageSize) {
        return null;
    }

    @Override
    public List<Dept> list() {
        return deptMapper.list();
    }
}
